<template>
	<view>
		<cu-custom bgColor="bg-gradual-blue"  :isBack="true">
			<block slot="backText">返回</block>
			<block slot="content">{{sign_room_name || '签约室'}}</block>
		</cu-custom>	
		<view class="cu-bar bg-white solid-bottom  margin-top">
			<view class="action ">
				<text class="cuIcon-title text-blue"></text>签约室成员
			</view>
		</view>
		
		<view class="cu-bar bg-white solid-bottom padding-left-xs padding-right-xs text-gray" style="justify-content: flex-start;">
			<view class="padding-sm flex">
				<view class="cuIcon-friendfill text-blue" ></view>
				<text class="padding-left-xs padding-right-xs">张三</text>
				<view class="cuIcon-roundclose text-blue"></view>
			</view>
			<view class="padding-sm flex">
				<view class="cuIcon-friendfill text-blue" ></view>
				<text class="padding-left-xs padding-right-xs">李四</text>
				<view class="cuIcon-roundclose text-blue"></view>
			</view>
			<view class="padding-sm flex">
				<view class="cuIcon-friendfill text-blue" ></view>
				<text class="padding-left-xs padding-right-xs">李四</text>
				<view class="cuIcon-roundaddfill text-blue"></view>
			</view>
		</view>
		<view class="cu-bar bg-white solid-bottom  margin-top">
			<view class="action ">
				<text class="cuIcon-title text-blue"></text>签约房源你
			</view>
		</view>
		<view class="cu-form-group  cu-bar solid-botoom">
			<view class="cuIcon-home text-blue margin-right" ></view>
			<text class="text-gray">权证号/备案号：</text>
			<input type="text" value="" />
		</view>
		<view class="cu-form-group  cu-bar solid-botoom">
			<view class="cuIcon-location text-blue margin-right" ></view>
			<text class="text-gray">房屋坐落：</text>
			<input type="text" value="" />
		</view>
		<view class="padding">
			<button class="cu-btn block bg-blue margin-tb-sm lg" @click="adContract">添加合同</button>
		</view>
	</view>
</template>

<script>
	import iconfont from "@/components/iconfont/inconfont.vue";
	export default {
		components: {
			iconfont
		},
		data() {
			return {
				sign_room_name: '签约室'
			}
		},
		onLoad (route) {
			// console.log(route)
			
			this.sign_room_name = route.sign_room_name;
		},
		methods: {
			adContract() {
				uni.navigateTo({
					url: '/pages/contract-edit/contract-edit',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			}
		}
	}
</script>
<style>
 page {
	background: #fff;
 }
</style>